Optimal. Leaf size=33 \[ \frac{\tan ^{-1}\left (\frac{\cos (c+d x)}{3-\sin (c+d x)}\right )}{2 d}-\frac{x}{4} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0121246, antiderivative size = 33, normalized size of antiderivative = 1., number of steps used = 1, number of rules used = 1, integrand size = 12, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.083, Rules used = {2658} \[ \frac{\tan ^{-1}\left (\frac{\cos (c+d x)}{3-\sin (c+d x)}\right )}{2 d}-\frac{x}{4} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2658
Rubi steps
\begin{align*} \int \frac{1}{-5+3 \sin (c+d x)} \, dx &=-\frac{x}{4}+\frac{\tan ^{-1}\left (\frac{\cos (c+d x)}{3-\sin (c+d x)}\right )}{2 d}\\ \end{align*}
Mathematica [A] time = 0.0224014, size = 56, normalized size = 1.7 \[ \frac{\tan ^{-1}\left (\frac{2 \left (\cos \left (\frac{1}{2} (c+d x)\right )-\sin \left (\frac{1}{2} (c+d x)\right )\right )}{\sin \left (\frac{1}{2} (c+d x)\right )+\cos \left (\frac{1}{2} (c+d x)\right )}\right )}{2 d} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.013, size = 20, normalized size = 0.6 \begin{align*} -{\frac{1}{2\,d}\arctan \left ({\frac{5}{4}\tan \left ({\frac{dx}{2}}+{\frac{c}{2}} \right ) }-{\frac{3}{4}} \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.43272, size = 35, normalized size = 1.06 \begin{align*} -\frac{\arctan \left (\frac{5 \, \sin \left (d x + c\right )}{4 \,{\left (\cos \left (d x + c\right ) + 1\right )}} - \frac{3}{4}\right )}{2 \, d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.86976, size = 73, normalized size = 2.21 \begin{align*} -\frac{\arctan \left (\frac{5 \, \sin \left (d x + c\right ) - 3}{4 \, \cos \left (d x + c\right )}\right )}{4 \, d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 0.907458, size = 48, normalized size = 1.45 \begin{align*} \begin{cases} - \frac{\operatorname{atan}{\left (\frac{5 \tan{\left (\frac{c}{2} + \frac{d x}{2} \right )}}{4} - \frac{3}{4} \right )} + \pi \left \lfloor{\frac{\frac{c}{2} + \frac{d x}{2} - \frac{\pi }{2}}{\pi }}\right \rfloor }{2 d} & \text{for}\: d \neq 0 \\\frac{x}{3 \sin{\left (c \right )} - 5} & \text{otherwise} \end{cases} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.13779, size = 68, normalized size = 2.06 \begin{align*} -\frac{d x + c + 2 \, \arctan \left (\frac{3 \, \cos \left (d x + c\right ) - \sin \left (d x + c\right ) + 3}{\cos \left (d x + c\right ) + 3 \, \sin \left (d x + c\right ) - 9}\right )}{4 \, d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]